import { Module } from '@nestjs/common';
import { MenuService } from './menu.service';
import { MenuController } from './menu.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Menu } from '@/modules/system/menu/entities/menu.entity';

@Module({
    imports: [
        TypeOrmModule.forFeature([Menu]),
    ],
    controllers: [MenuController],
    providers: [MenuService],
    exports: [MenuService, TypeOrmModule],
})
export class MenuModule {
}
